package com.bjpowernode.appio;

import java.io.FileWriter;
import java.io.IOException;

public class MyApp4 {

    public static void main(String[] args) {
        String temp = "\n20日，山东济南。孙先生看着螃蟹自己解绑，随口说了句“解开就把你放生”，没想到螃蟹真解绑成功，孙先生也信守承诺连夜开车去附近的小湖放生。";
        String path = "d:\\aa.txt";
        FileWriter fileWriter = null;
        try {
            fileWriter = new FileWriter(path, true);
            fileWriter.write(temp);
            fileWriter.flush();
            fileWriter.close();
        } catch (IOException e) {
            e.printStackTrace();
        }


    }
}
